package com.spring.learn01;

public class Person {
	private String name;

	private School school;
	
	

	public Person() {
		super();
	}

	public School getSchool() {
		return school;
	}

	public void setSchool(School school) {
		this.school = school;
	}

	public Person(String name2) {
		super();
		this.name = name2;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Person [name=" + name + ", school=" + school + "]";
	}

	 
}
